var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            if (cm.getMapId() == 400052000) {
                cm.spawnMobLimit(9300652, 1, 200, 29, 100);
                cm.spawnMobLimit(9300652, 1, 400, 29, 100);
                cm.spawnMobLimit(9300652, 1, 600, 29, 100);
                cm.spawnMobLimit(9300652, 1, 800, 29, 100);
                cm.spawnMobLimit(9300652, 1, 1000, 29, 100);
                cm.spawnMobLimit(9300652, 1, 1200, 29, 100);
                cm.spawnMobLimit(9300652, 1, 1400, 29, 100);
                cm.spawnMobLimit(9300652, 1, 1600, 29, 100);
                cm.spawnMobLimit(9300652, 1, 450, -211, 100);
                cm.spawnMobLimit(9300652, 1, 600, -211, 100);
                cm.spawnMobLimit(9300652, 1, 750, -211, 100);
                cm.spawnMobLimit(9300652, 1, 100, -511, 100);
                cm.spawnMobLimit(9300652, 1, 200, -511, 100);
                cm.spawnMobLimit(9300652, 1, 300, -511, 100);
                cm.spawnMobLimit(9300652, 1, 400, -511, 100);
                cm.spawnMobLimit(9300652, 1, 500, -511, 100);
                cm.spawnMobLimit(9300652, 1, 600, -511, 100);
                cm.spawnMobLimit(9300652, 1, 700, -511, 100);
                cm.fieldEffect_ScreenMsg("monsterPark/stageEff/final")
            }
            cm.dispose()
        }
    }
};